<template>
  <div>
    <el-tag
      v-for="(item, index) in items"
      :key="index"
      size="small"
      class="tag-item"
    >
      {{ item }}
    </el-tag>
  </div>
</template>

<script setup lang="ts">
defineProps<{
  items: string[]
}>()
</script>

<style scoped>
.tag-item {
  margin-right: 5px;
  margin-bottom: 5px;
}
</style>
